package com.msb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//启动类
@SpringBootApplication
//接口绑定
@MapperScan("com.msb.mapper")
public class TestSpringbootApplication {
    public static void main(String[] args) {
        //扫描TestSpringbootApplication这个类同包或者子包下的注解
        //                         只有这可以改
        SpringApplication.run(TestSpringbootApplication.class, args);
    }
}
